package com.example.eureka_client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author plj
 * @since 2022-03-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("UAC_USER")
@ApiModel(value="UacUser对象", description="用户对象")
public class UacUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.INPUT)
    private String id;

    @ApiModelProperty(value = "登录账户（必须）")
    @TableField("LOGIN_NAME")
    private String loginName;

    @ApiModelProperty(value = "昵称")
    @TableField("NAME")
    private String name;

    @ApiModelProperty(value = "密码（必须）")
    @TableField("PASSWORD")
    private String password;

    @TableField("PHOTO")
    private String photo;

    @TableField("DEL_FLAG")
    private Integer delFlag;

    @TableField("ROLE_ID")
    private String roleId;

    @ApiModelProperty(value = "创建时间（必须）")
    @TableField("CREATE_DATE")
    private Date createDate;


}
